from random import*
a=int(input("Kol-vo vistrelov:"))
Sum = 0
for i in range(1, a+1):
    x= randint(-100,100)
    y= randint(-100,100)
    if x>=-7 and x<=5 and y<=5 and y>=-8:
        Sum = Sum + 1
print ("Kol-vo popadani", Sum)
